﻿using System;
using System.Messaging;

namespace NsbMonitorClientService.QueueManager
{
    public interface IFetchQueueStatus
    {
        QueueStatus QueueStatus(MessageQueue messageQueue);
    }

    public interface IFetchOldestMessageTime
    {
        DateTime? OldestMessageTime(MessageQueue messageQueue);
    }

    public interface ICountMessagesInQueue
    {
        int CountMessages(MessageQueue messageQueue);
    } 
}